package com.zto.sch.advance.algorithms;

/**
 * @program: sch-diy-parent
 * @description:
 * @author: sch
 * @create: 2021-07-10 18:36
 **/
public class Pair<L, R> {

    private L left;
    private R right;

    public Pair() {
    }

    public Pair(L left, R right) {
        this.left = left;
        this.right = right;
    }

    public L getLeft() {
        return left;
    }

    public void setLeft(L left) {
        this.left = left;
    }

    public R getRight() {
        return right;
    }

    public void setRight(R right) {
        this.right = right;
    }
}
